/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.miracleteam.miracle.dao;

import java.util.List;
import com.miracleteam.miracle.entities.Mathangcuagianhang;
/**
 *
 * @author DangKhoa
 */
public interface  MatHangCuaGianHangDAO {
    public  List LayDSXemNhieuNhat(String maGH);
    public List LayDSMoiNhat(String maGH);
    public List LayDSKhuyenMai(String maGH);
     public List LayDanhMucSanPham(String maGH) ;
    public List TimKiem(String maGH,String key,double giatu,double giaden);
    public int SoSanPham(String maGH,String key,double giatu,double giaden);
    
       public  int DemSoTrang(String maGH,String key,double giatu,double giaden);
      
       public  List TimKiemPT(String maGH,String key,double giatu,double giaden, int trang);
       
        public int TongSanPhamCuaGianHang(String maGH);
   
       public  int DemSoTrangChoTatCaSanPham(String maGH);
       
         public List LayDanhMucSanPhamPT(String maGH, int trang);
          public Mathangcuagianhang LayMatHang(String ma);
          public List MatHangLienQuan(String maGH,String ten);
   
          //Tim kiem phan trang theo loai SP
    public List TimKiemPT_LoaiSP(String maGH, String tenLoaiSP, int trang);
   
     public int SoSanPham_LoaiSP(String maGH, String tenLoaiSP);
    public int DemSoTrang_LoaiISP(String maGH, String tenLoaiSP) ;
}
